cmake_minimum_required(VERSION 3.10)
project(ex1)

set(CMAKE_CXX_STANDARD 11)
find_package(OpenCV REQUIRED)
add_executable(ex1 main.cpp)
target_link_libraries(ex1 ${OpenCV_LIBS})